Skip to content

feat(tables-metadata): Add codelist parameter to tables metadata endpoint PXWEB2-654 #375

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 22, 2025

Conversation

likp
Copy link
Contributor

@likp likp commented May 20, 2025

  • Introduced FixVariableRefsAndApplyCodelists method in ISelectionHandler for fixing variable references and applying codelists.
  • Changed visibility of FixVariableRefsAndApplyCodelists in SelectionHandler to public.
  • Updated GetMetadataById in TableApiController to accept a new codelist parameter.
  • Added logic in TableApiController to process the codelist and handle potential errors.
  • Created CreateVariablesSelectionFromCodelists method in SelectionUtil to build VariablesSelection from codelists.
  • Updated PxWeb.Api2.Server package version to 2.0.0-beta.17.

likp added 8 commits May 20, 2025 16:14
- Introduced `FixVariableRefsAndApplyCodelists` method in `ISelectionHandler` for fixing variable references and applying codelists.
- Changed visibility of `FixVariableRefsAndApplyCodelists` in `SelectionHandler` to public.
- Updated `GetMetadataById` in `TableApiController` to accept a new `codelist` parameter.
- Added logic in `TableApiController` to process the `codelist` and handle potential errors.
- Created `CreateVariablesSelectionFromCodelists` method in `SelectionUtil` to build `VariablesSelection` from codelists.
- Updated `PxWeb.Api2.Server` package version to `2.0.0-beta.17`.
Copy link

@likp likp marked this pull request as ready for review May 22, 2025 11:59
Copy link
Contributor

@MikaelNordberg MikaelNordberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@likp likp merged commit 2949191 into main May 22, 2025
12 checks passed
@likp likp deleted the feature/metadata-codelist branch May 22, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants